<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单</title>
</head>

<body>
    <form>
        <!-- 文本输入框 -->
        <input type="text" name="username" placeholder="请输入用户名">
        <!-- 密码输入框 -->
        <input type="password" name="password" placeholder="请输入密码">
        <br/>
        性别:
        <!-- 单选框 -->
        <input type="radio" name="sex" value="man">男
        <input type="radio" name="sex" value="woman" checked>女

        <br/>
        兴趣爱好:
        <!-- 复选框 -->
        <input type="checkbox" name="xq" value="playgame">玩游戏
        <input type="checkbox" name="xq" value="swiming">游泳

        <br/>
        生日:
        <select name="birthday">
            <option value="2005">2005</option>
            <option value="2004">2004</option>
            <option value="2006">2006</option>
        </select>

        <br/>
        输入内容:
        <textarea></textarea>
        <br/>
        <input type="file" name="header">
        
        <input type="submit" value="登录">
        <button>确定</button>
    </form>
</body>

</html>